﻿namespace Audit.EntityFramework.Core.Samples.Models;

public class AuditLogEntry
{
    public Guid Id { get; set; }
    
    public int? UserId { get; set; }
    
    public string TableName { get; set; } = string.Empty;
    
    public string? Schema { get; set; } = string.Empty;
    
    public DateTime AuditDate { get; set; }
    
    public string Action { get; set; } = string.Empty;
    
    public string OldValues { get; set; } = string.Empty;
    
    public string NewValues { get; set; } = string.Empty;
    
    public string AffectedColumns { get; set; } = string.Empty;
    
    public string PrimaryKey { get; set; } = string.Empty;
}
